package cn.com.gdut.ppj.user.service;

import java.util.List;

import cn.com.gdut.ppj.model.TbCandidateRecruitmentInfo;
import cn.com.gdut.ppj.model.TbCompany;
import cn.com.gdut.ppj.model.TbProjectExperience;
import cn.com.gdut.ppj.model.TbRecruitmentInformation;
import cn.com.gdut.ppj.model.TbResume;
import cn.com.gdut.ppj.model.TbSchoolStudyInfo;
import cn.com.gdut.ppj.model.TbUser;
import cn.com.gdut.ppj.model.TbWorkExperience;

public interface IUserService {

	TbUser register(TbUser user) throws Exception;
	TbUser updateUser(TbUser user) throws Exception;
	TbUser selectUser(TbUser user) throws Exception;
	
	TbResume addResume(TbUser user,TbResume resume) throws Exception;
	TbResume updateResume(TbUser user,TbResume resume) throws Exception;
	List<TbResume> selectResume(TbUser user,TbResume resume) throws Exception;
	
	List<TbCompany> selectCompany(TbCompany company) throws Exception;
	
	List<TbRecruitmentInformation> selectRecruitmentInformation(TbRecruitmentInformation tri) throws Exception;
	List<TbRecruitmentInformation> selectRecruitmentInformationByCandidate(TbCandidateRecruitmentInfo cri) throws Exception;
	
	TbCandidateRecruitmentInfo addCandidateRecruitmentInfo(TbCandidateRecruitmentInfo tcri) throws Exception;
	List<TbCandidateRecruitmentInfo> selectCandidateRecruitmentInfo(TbCandidateRecruitmentInfo tcri) throws Exception;
	
	TbWorkExperience selectWorkExperience(TbWorkExperience we) throws Exception;
	TbWorkExperience updateWorkExperience(TbWorkExperience we) throws Exception;
	TbWorkExperience insertWorkExperience(TbWorkExperience we) throws Exception;
	
	TbProjectExperience selectProjectExperience(TbProjectExperience pe) throws Exception;
	TbProjectExperience updateProjectExperience(TbProjectExperience pe) throws Exception;
	TbProjectExperience insertProjectExperience(TbProjectExperience pe) throws Exception;
	
	TbSchoolStudyInfo selectSchoolStudyInfo(TbSchoolStudyInfo ssi) throws Exception;
	TbSchoolStudyInfo updateSchoolStudyInfo(TbSchoolStudyInfo ssi) throws Exception;
	TbSchoolStudyInfo insertSchoolStudyInfo(TbSchoolStudyInfo ssi) throws Exception;
	
	 
}
